$().ready(function(e) {
	//alert("Hello World!");
    $("#frmCapNhatSP").validate({
		errorElement: "span",
		rules:{
			tensanpham:{required:true},
			mota:{required:true,maxlength:200},
			mota_en: {required:true,maxlength:200},
			dongia:{required:true,number:true},
			soluong:{required:true,number:true},
			chitiet:{required:true},
			chitiet_en: "required",
			donvitinh: {required:true,maxlength:10},
			},
			messages:{
				}
		});
	 $("#frmCapNhatTT").validate({
		errorElement: "span",
		rules:{
			tieude:{required:true,maxlength:100},
			tieude_en:{required:true,maxlength:100},
			tomtat: {required:true,maxlength:250},
			tomtat_en:{required:true,maxlength:250},
			noidung:{required:true},
			noidung_en:{required:true},
			tacgia: {required:true,maxlength:50},
			},
			messages:{
				}
		});
});